package day3.lesson04

class Man(var name:String)
class SuperMan{
 def fly(): Unit ={
   println("我会飞")
 }
}
object Test {
  implicit def man2superman(man:Man):SuperMan=new SuperMan

  def main(args: Array[String]): Unit = {
      new Man("malaoshi").fly
  }

}
